package ep.model;

public enum Direction {

	NORTH, EAST, SOUTH, WEST;

	public Direction getDirectionCW() {
		return Direction.values()[(this.ordinal() + 1) % 4];
	}

	public Direction getDirectionCCW() {
		return Direction.values()[(this.ordinal() - 1 + 4) % 4];
	}
}
